//
//  JHCollectionViewCycleImage.h
//  UI16_UICollectionView封装轮播图
//
//  Created by tusm on 16/8/4.
//  Copyright © 2016年 tusm. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol JHCollectionViewCycleImageDelegate <NSObject>

@required

@optional

- (void)didClickedItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@protocol JHCollectionViewDataSourceDelegate<NSObject>
- (void)handleDataSourceObject:(id)object cell:( UICollectionViewCell *)cell;
@end



@interface JHCollectionViewCycleImage : UIView

@property (nonatomic,weak)id<JHCollectionViewCycleImageDelegate>delegate;

@property (nonatomic,strong)NSArray *array;
@property (nonatomic,strong)NSArray *labelArray;

@property (nonatomic,weak)id <JHCollectionViewDataSourceDelegate>dataSource;

@end

